package com.hibernate.hrm.entity.dto.department;

import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;

@Data
public class DepartmentEditDTO {
    @NotBlank(message = "部门名称不能为空")
    @Size(max = 50, message = "部门名称不能超过50个字符")
    private String departmentName;

    @NotBlank(message = "部门代码不能为空")
    @Size(max = 20, message = "部门代码不能超过20个字符")
    private String departmentCode;

    private String departmentIntroduction;
    private Integer departmentParentID;
    private Integer departmentHeadID;
}